<%@ page language="java" pageEncoding="UTF-8"%>
<div class="navbar navbar-default navbar-static-top" style="z-index:1;" ng-controller="NavBarController">
	<div class="container">
		<div class="pull-left">
			<a style="position: relative; left: 10px;" href="#/" title="${Constants.APP_NAME}">
				<img src="${Constants.LOGO_S}" />
			</a>
		</div>
		<ul class="nav navbar-nav navbar-right">
			<li ng-repeat="userBar in userBars">
				<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" ng-click="userBarHandle(userBar)">
					<i ng-class="userBar.icon"></i> {{userBar.text}}
					<b class="caret" ng-show="userBar.children.length!=0"></b>
				</a>
				
				<ul class="dropdown-menu" ng-show="userBar.children.length!=0">
					<li ng-repeat="children in userBar.children">
						<a href="javascript:void(0);" ng-click="userBarHandle(children)">
							<i ng-class="children.icon"></i> {{children.text}}
						</a>
					</li>
				</ul>
			</li>
		</ul>
		<div class="nav navbar-nav navbar-right" style="position: relative;top: 50px;">
			<div placement="bottom" trigger="manual" show="true" content="mailPrompt" popover></div>
		</div>
	</div>
</div>